.data-loading-container {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: transparent;
}

/* 居中显示容器 */
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* 字体区域容器 */
.title-container {
  width: 100%;
  display: flex;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.data-loading-title {
  color: #1890ff;
  border: none;
  background-color: transparent;
}


/* 道路容器 - 宽度与字体区域一致 */
.loading-road {
  position: relative;
  width: 32%;
  height: 120rpx;
  background: inherit;
  border-radius: 5rpx;
  overflow: hidden;
  margin-bottom: 10rpx;
  align-items: center;
  justify-content: center;
}

/* 道路线条 */
.road-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.road-line {
  position: absolute;
  width: 30rpx;
  height: 4rpx;
  background: #fff;
  border-radius: 2rpx;
  top: 80rpx;
  opacity: 0.7;
  animation: roadMove 5s linear infinite;
}

/* 为每个线条设置均匀的间隔和延迟，形成连续的线条动画 */
.road-line:nth-child(1) { left: 5%; animation-delay: 0s; }
.road-line:nth-child(2) { left: 18%; animation-delay: 0.625s; }
.road-line:nth-child(3) { left: 31%; animation-delay: 1.25s; }
.road-line:nth-child(4) { left: 44%; animation-delay: 1.875s; }
.road-line:nth-child(5) { left: 57%; animation-delay: 2.5s; }
.road-line:nth-child(6) { left: 70%; animation-delay: 3.125s; }
.road-line:nth-child(7) { left: 83%; animation-delay: 3.75s; }
.road-line:nth-child(8) { left: 96%; animation-delay: 4.375s; }

/* 道路线条移动动画 - 5秒持续时间 */
@keyframes roadMove {
  0% {
    transform: translateX(0);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-100%); /* 与道路容器宽度匹配 */
    opacity: 0.7;
  }
}

.loading-car {
  position: absolute;
  width: 120rpx;
  height: 60rpx;
  top: 30rpx;
  left: 0;
  animation: carMove 3s linear infinite;
  z-index: 2;
}

/* 小汽车尾气效果 */
.loading-car .loading-strike {
  position: absolute;
  width: 15rpx;
  height: 2rpx;
  background: rgba(255, 255, 255, 1);
  animation: strikes 0.2s linear infinite;
}

.loading-car .loading-strike2 {
  top: 15rpx;
  animation-delay: 0.05s;
}

.loading-car .loading-strike3 {
  top: 30rpx;
  animation-delay: 0.1s;
}

.loading-car .loading-strike4 {
  top: 45rpx;
  animation-delay: 0.15s;
}

.loading-car .loading-strike5 {
  top: 55rpx;
  animation-delay: 0.2s;
}

/* 小汽车移动动画 - 优化路径和曲线 */
@keyframes carMove {
  0% {
    transform: translateX(-120rpx);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100% + 120rpx));
    opacity: 0;
  }
}

/* 小汽车尾气效果动画 */
@keyframes strikes {
  from {
    left: -20rpx;
    opacity: 1;
  }
  to {
    left: -80rpx;
    opacity: 0;
  }
}

/* 小汽车部件 */
.loading-car-detail {
  position: absolute;
  display: block;
  background: #ed4a38;
}

.loading-car-detail.loading-spoiler {
  width: 0;
  height: 0;
  top: 5rpx;
  background: none;
  border: 20rpx solid transparent;
  border-bottom: 8rpx solid #ffe4e1;
  border-left: 20rpx solid #ffe4e1;
}

.loading-car-detail.loading-back {
  height: 20rpx;
  width: 80rpx;
  top: 15rpx;
  left: 0rpx;
}

.loading-car-detail.loading-center {
  height: 30rpx;
  width: 65rpx;
  left: 10rpx;
  border-top-left-radius: 25rpx;
  border-top-right-radius: 35rpx 30rpx;
  border: 3rpx solid #ffe4e1;
  background: none;
  box-sizing: border-box;
}

.loading-car-detail.loading-center1 {
  height: 30rpx;
  width: 30rpx;
  left: 10rpx;
  border-top-left-radius: 25rpx;
}

.loading-car-detail.loading-front {
  height: 20rpx;
  width: 40rpx;
  top: 15rpx;
  left: 60rpx;
  border-top-right-radius: 35rpx 30rpx;
  border-bottom-right-radius: 10rpx;
}

/* 车轮动画 */
@keyframes spin {
  0% {
    transform: translate(1rpx, 0.5rpx) rotate(0deg);
  }
  100% {
    transform: translate(1rpx, 0.5rpx) rotate(360deg);
  }
}

.loading-car-detail.loading-wheel {
  height: 20rpx;
  width: 20rpx;
  border-radius: 50%;
  top: 20rpx;
  left: 10rpx;
  border: 3rpx solid #333;
  background: linear-gradient(45deg, transparent 45%, #ffe4e1 46%, #ffe4e1 54%, transparent 55%), 
              linear-gradient(-45deg, transparent 45%, #ffe4e1 46%, #ffe4e1 54%, transparent 55%), 
              linear-gradient(90deg, transparent 45%, #ffe4e1 46%, #ffe4e1 54%, transparent 55%), 
              linear-gradient(0deg, transparent 45%, #ffe4e1 46%, #ffe4e1 54%, transparent 55%), 
              radial-gradient(#ffe4e1 29%, transparent 30%, transparent 50%, #ffe4e1 51%), #333;
  animation: spin 0.5s linear infinite;
}

.loading-car-detail.loading-wheel2 {
  left: 70rpx;
}
